package it312l.group9.itorf;

public class Question {
	private String questionDescription;
	private boolean answer;
	private String answerDescription;
	
	/**
	 * 
	 * @param questionDescription String	The actual question being asked
	 * @param answer			  boolean	The answer to the question description
	 * @param answerDescription   String	The true description of the question
	 */
	public Question(){
		
	}
	
	public Question(String questionDescription, boolean answer, String answerDescription){
		this.questionDescription = questionDescription;
		this.answer = answer;
		this.answerDescription = answerDescription;
	}
	/**
	 * Sets the description of the question being asked
	 * @return
	 */
	public void setQuestionDescription(String questionDescription){
		this.questionDescription = questionDescription;
	}
	
	/**
	 * Sets the correct answer for the question object
	 * @return answer
	 */
	public void setAnswer(boolean answer){
		this.answer = answer;
	}
	
	/**
	 * Sets the description of the answer of the particular question object
	 * @return answerDescription
	 */
	public void setAnswerDescription (String answerDescription){
		this.answerDescription = answerDescription;
	}
	
	/**
	 * Gets the description of the question being asked
	 * @return
	 */
	public String getQuestionDescription(){
		return questionDescription;
	}
	
	/**
	 * Gets the correct answer for the question object
	 * @return answer
	 */
	public boolean getAnswer(){
		return answer;
	}
	
	/**
	 * Gets the description of the answer of the particular question object
	 * @return answerDescription
	 */
	public String getAnswerDescription (){
		return answerDescription;
	}
}
